// pages/month/month.ts
Page({

  /**
   * 页面的初始数据
   */
  data: {
    title:"开通月卡领",
    price_a:"312",
    title_a:"红包",
    img:"../../assets/redPacket.png",
    text_a:"智慧停车全场通用",
    text_b:"最高可得30个红包",
    btn_a:"立即开通",
    price_b:"9.9",
    btn_b:"元/月",
    btn_c:"原价19.9元",
    img_a:"../../assets/queren1.png",
    read:"我已阅读开通停车月卡的相关协议,权益规则详情",

    ice:"../../assets/icon/ice.png",
    fire:"../../assets/icon/fire.png",
    water:"../../assets/icon/water.png",
    rock:"../../assets/icon/rock.png",
    wind:"../../assets/icon/wind.png",
    grass:"../../assets/icon/grass.png",
    electro:"../../assets/icon/electro.png",


    title_c:"月卡红包",
    text_c:"可得",
    text_d:"智慧停车全场通用",
    num:"30个",
    text_e:"月卡红包,价值",
    text_f:"212元",
    btn_d:"一键领取",

    ad:"../../assets/ad.png",
    listData:[
      {id:1,msg_a:"开卡领",msg_b:"9",msg_c:"元",msg_d:"满30元可用",msg_e:"领取"},
      {id:2,msg_a:"开卡领",msg_b:"9",msg_c:"元",msg_d:"满30元可用",msg_e:"领取"},
      {id:3,msg_a:"开卡领",msg_b:"9",msg_c:"元",msg_d:"满30元可用",msg_e:"领取"},
      {id:4,msg_a:"开卡领",msg_b:"9",msg_c:"元",msg_d:"满30元可用",msg_e:"领取"},
      {id:5,msg_a:"开卡领",msg_b:"9",msg_c:"元",msg_d:"满30元可用",msg_e:"领取"},
      {id:6,msg_a:"开卡领",msg_b:"9",msg_c:"元",msg_d:"满30元可用",msg_e:"领取"},
    ]
  },

  /**
   * 生命周期函数--监听页面加载
   */
  onLoad() {

  },

  /**
   * 生命周期函数--监听页面初次渲染完成
   */
  onReady() {

  },

  /**
   * 生命周期函数--监听页面显示
   */
  onShow() {

  },

  /**
   * 生命周期函数--监听页面隐藏
   */
  onHide() {

  },

  /**
   * 生命周期函数--监听页面卸载
   */
  onUnload() {

  },

  /**
   * 页面相关事件处理函数--监听用户下拉动作
   */
  onPullDownRefresh() {

  },

  /**
   * 页面上拉触底事件的处理函数
   */
  onReachBottom() {

  },

  /**
   * 用户点击右上角分享
   */
  onShareAppMessage() {
},
handleClick(){
 console.log("去充值")
},
handleGet(){
  wx.showToast({
    title: '领取成功',
    icon: 'success',
    duration: 600,
    complete:function(){
    }
  })

}
})